package cn.zucc.edu.madq.service;

import java.util.List;

import cn.zucc.edu.madq.pojo.Message;

public interface MessageService {
	
	int getMessageNum(int userId);

	List<Message> getAllMessage(Integer userId);

	int delMessage(int messageId);

	Message getMessageById(int messageId);

	int readMessage(Message message);

	int addMessage(Message m);
}
